#ifndef CAR_PRODUCT_H
#define CAR_PRODUCT_H

#include <QThread>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkAccessManager>
#include <QVariant>
#include <qdebug.h>
#include <QXmlStreamAttributes>
#include <QTextCodec>
#include <QtScript>
#include <QThread>
#include "datebase.h"
#include "systemfile.h"
class Car_Product : public QThread
{
    Q_OBJECT
public:
    explicit Car_Product(datebase *db,QObject *parent = 0);
    QString retu_Vehicle;
    QString max_updated_at;
private:
    datebase *pt_mydb;
 //   QNetworkAccessManager *manager;

private slots:
    QString cardown(QString max_updated_at);
    bool Producer_WebCarMessage(QNetworkReply *reply);
signals:
    void MsgSignal(QString);
public slots:
    void receiv_Msg(QString);
    void down_car();
protected:
    void run();

};

#endif // CAR_PRODUCT_H
